phpseclib3\Math\BigInteger\Engines\BCMath A

Total Complexity 71
Dependencies 3
Dependents 0
Total lines 582
Lines of code 256
Logical lines of code 141
Comment lines 193
Methods 38
Properties 0

Methods 38

Method Rating Maintainability Complexity Lines of code
initialize()
A
49 9 28
testSmallPrimes()
S
55 6 19
toBytes()
S
55 5 18
extendedGCD()
S
53 2 25
negate()
S
63 3 10
__construct()
S
63 3 10
divide()
S
62 3 10
abs()
S
67 3 7
make_odd()
S
73 2 5
scan1divide()
S
64 2 9
between()
S
78 2 3
normalize()
S
67 2 8
isNegative()
S
78 2 3
toString()
S
71 2 6
powModInner()
S
66 2 8
setBitmask()
S
75 1 4
max()
S
79 1 3
min()
S
79 1 3
pow()
S
72 1 5
isOdd()
S
78 1 3
testBit()
S
68 1 7
randomRange()
S
78 1 3
randomRangePrime()
S
78 1 3
isValidEngine()
S
80 1 3
powMod()
S
79 1 3
modPow()
S
79 1 3
compare()
S
79 1 3
bitwise_leftShift()
S
71 1 5
bitwise_rightShift()
S
71 1 5
bitwise_xor()
S
80 1 3
bitwise_or()
S
80 1 3
bitwise_and()
S
80 1 3
gcd()
S
76 1 4
modInverse()
S
80 1 3
multiply()
S
72 1 5
subtract()
S
72 1 5
add()
S
72 1 5
equals()
S
80 1 3